package com.baiyang.server.service.book;


import com.alibaba.fastjson.JSONObject;
import com.baiyang.server.model.PageEntity;
import com.baiyang.server.model.book.Book;
import com.baiyang.server.service.BaseService;
import com.baiyang.server.tools.Letter;

public interface BookService extends BaseService<Book> {

    void insertBook(Book book, Letter<String> letter);

    Book selectOneBook(Book book);

    PageEntity<Book> getPages(JSONObject object);

    void updateBook(Book book, Letter<String> letter);
}
